package kr.moiba.user.dao;

import java.util.List;
import java.util.Map;

import kr.moiba.user.domain.User;

/**
 * @author Lee Youngho
 *
 */
public interface UserDao {
	
	public User selectAuth(String userId) throws Exception;
	
	public List<User> SelectList(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCnt(Map<String, Object> condition) throws Exception;
	
	public User select(Integer idx) throws Exception;
	
	public User insert(User user) throws Exception;
	
	public User update(User user) throws Exception;
	
	public int delete(Map<String, Object> condition) throws Exception;
	
	public int undelete(Map<String, Object> condition) throws Exception;
	
}